.chat-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: #e5ddd5;
}

.no-chat-selected {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #f8f9fa;
  color: #666;
}

.no-chat-selected h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #075e54;
}

.no-chat-selected p {
  font-size: 14px;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #f0f0f0;
  border-bottom: 1px solid #d0d0d0;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #075e54;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
}

.chat-name {
  font-size: 16px;
  font-weight: 600;
  color: #000;
  margin-bottom: 2px;
}

.chat-status-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.chat-ip {
  color: #666;
}

.chat-status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.chat-status-indicator.online {
  background-color: #25d366;
}

.chat-status-indicator.away {
  background-color: #ffa500;
}

.chat-status-indicator.offline {
  background-color: #999;
}

.chat-status-text {
  color: #666;
  font-size: 11px;
}

.chat-actions {
  display: flex;
  gap: 10px;
}

.action-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background-color: #075e54;
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.action-btn:hover {
  background-color: #064e46;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><rect fill="%23e5ddd5" width="100" height="100"/></svg>');
}

.no-messages {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

.no-messages p {
  font-size: 16px;
  margin-bottom: 8px;
}

.no-messages small {
  font-size: 12px;
  color: #999;
}

.message {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  max-width: 60%;
}

.message.sent {
  align-self: flex-end;
  margin-left: auto;
}

.message.received {
  align-self: flex-start;
}

.message-content {
  padding: 10px 14px;
  border-radius: 8px;
  word-wrap: break-word;
}

.message.sent .message-content {
  background-color: #dcf8c6;
  border-bottom-right-radius: 0;
}

.message.received .message-content {
  background-color: white;
  border-bottom-left-radius: 0;
}

.message-content p {
  margin: 0;
  font-size: 14px;
  color: #000;
}

.emoji-large {
  font-size: 48px;
}

.message-time {
  font-size: 11px;
  color: #666;
  margin-top: 4px;
  align-self: flex-end;
  padding: 0 6px;
}

.chat-input-container {
  position: relative;
  display: flex;
  align-items: center;
  padding: 15px 20px;
  background-color: #f0f0f0;
  gap: 10px;
}

.attach-btn,
.emoji-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background-color: #075e54;
  color: white;
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.attach-btn:hover,
.emoji-btn:hover {
  background-color: #064e46;
}

.emoji-picker-container {
  position: absolute;
  bottom: 70px;
  left: 80px;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
}

.message-form {
  flex: 1;
  display: flex;
  gap: 10px;
}

.message-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 25px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
}

.message-input:focus {
  border-color: #075e54;
}

.send-btn {
  padding: 10px 24px;
  border: none;
  border-radius: 25px;
  background-color: #075e54;
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.send-btn:hover {
  background-color: #064e46;
}
